package com.kingdee.eas.mx.exp.inv;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class RedInvoiceFactory
{
    private RedInvoiceFactory()
    {
    }
    public static com.kingdee.eas.mx.exp.inv.IRedInvoice getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.mx.exp.inv.IRedInvoice)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("6DD22E75") ,com.kingdee.eas.mx.exp.inv.IRedInvoice.class);
    }
    
    public static com.kingdee.eas.mx.exp.inv.IRedInvoice getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.mx.exp.inv.IRedInvoice)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("6DD22E75") ,com.kingdee.eas.mx.exp.inv.IRedInvoice.class, objectCtx);
    }
    public static com.kingdee.eas.mx.exp.inv.IRedInvoice getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.mx.exp.inv.IRedInvoice)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("6DD22E75"));
    }
    public static com.kingdee.eas.mx.exp.inv.IRedInvoice getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.mx.exp.inv.IRedInvoice)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("6DD22E75"));
    }
}